package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bf.electroplating.pojo.dto.IdDTO;
import com.bf.electroplating.pojo.dto.function.ModuleDTO;
import com.bf.electroplating.pojo.entity.PubSystemModule;
import com.bf.electroplating.pojo.vo.PageVO;
import com.bf.electroplating.pojo.vo.ResultVO;
import com.bf.electroplating.pojo.vo.function.ModuleVO;

import java.util.List;

/**
* @author 15451
* @description 针对表【pub_system_module(菜单表)】的数据库操作Service
* @createDate 2025-05-09 11:11:32
*/
public interface PubSystemModuleService extends IService<PubSystemModule> {

    ResultVO<List<ModuleVO>> getSelectList();

    ResultVO<Page<ModuleVO>> getPage(PageVO dto);

    ResultVO<Object> updateOrSave(ModuleDTO dto);

    ResultVO<Object> delete(IdDTO dto);

    ResultVO<ModuleDTO> getDetail(IdDTO dto);

    ResultVO<List<ModuleVO>> getMenu();

}
